package
{
	import server.*;
	
	import starling.display.Sprite;
	import starling.text.TextField;
	
	public class Game extends Sprite
	{
		public var servercito:Server;
		public var txtField:TextField;
		public var resources:Assets = new Assets();
		
		public function Game()
		{
			trace("Colesterol Rush");
			txtField = new TextField(200, 150, "HOLA");
			addChild(txtField);
			servercito = new Server(this);
		}
		
		public function printMsg(msg:String):void
		{
			this.txtField.text = msg;
		}
	}
}